package com.cy.testSystem;

import javax.annotation.Resource;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import com.cy.system.mapper.RoleMapper;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration({"classpath:applicationContext.xml"})
public class testRoleMapper {

	@Resource
	RoleMapper roleMapper;
	@Test
	public void testRoleMapper() {
		System.out.println(roleMapper.getMenuIdsByRoleId(1));
	};
}
